package com.tica.it.itmanage.core.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 登陆
 *
 * @author hanbin
 */
@Data
public class LoginDTO implements Serializable {

    @NotNull(message = "用户名不能够为空")
    private String username;
    @NotNull(message = "密码不能够为空")
    private String password;

}